package cn.dubito.rule;

import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author liliang
 * @description:
 * @date 2018/5/21.
 */
@Configuration
public class MyRule {

    @Bean
    public IRule rule() {
        return new RandomRuleXy();
    }

}
